﻿namespace com.crownpack.SharePoint
{
    using System;

    public class SiteColumnDefnEventArgs : EventArgs
    {
        #region Constructors

        public SiteColumnDefnEventArgs( string staticName )
            : this(staticName, string.Empty)
        {
        }

        public SiteColumnDefnEventArgs( string staticName, string exceptionMessage )
        {
            StaticName = staticName;
            ExceptionMessage = exceptionMessage;
        }

        #endregion Constructors

        #region Properties

        public string ExceptionMessage
        {
            get;
            private set;
        }

        public string StaticName
        {
            get;
            private set;
        }

        #endregion Properties
    }
}